﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microhard.WarehouseInsp.Buz.Interfaces;
using Microsoft.Practices.Unity;
using Microhard.WarehouseInsp.Buz.Models;
using Microhard.Permission.Interface;
using Microhard.Permission.MVCFilter;
using Microhard.WebUI.Models;
using Telerik.Web.Mvc;

namespace Microhard.WarehouseInsp.WebUI.Areas.WarehouseInsp.Controllers
{
    public class CustomerController : MicroHardBaseController<CustomerModel>
    {
        private ICustomer _resp = null;
        [Dependency]
        public ICustomer Prj
        {
            set
            {
                base._repository = _resp = value;
            }
            get
            {
                return _resp;
            }

        }

        [MVCFilterAtrForLogon()]
        public ActionResult SelectBroCustomer(AttributeOfWindow aowModel)
        {
            return View(aowModel);
        }


        [MVCFilterAtrForLogon()]
        public ActionResult SelectMogCustomer(AttributeOfWindow aowModel)
        {
            return View(aowModel);
        }

    }
}
